projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63ec5c
)
core: unpack: Regenerate pack index after unpacking
author
Colin Walters
<walters@verbum.org>
Wed, 11 Apr 2012 23:53:10 +0000
(19:53 -0400)
committer
Colin Walters
<walters@verbum.org>
Wed, 11 Apr 2012 23:54:30 +0000
(19:54 -0400)
src/ostree/ot-builtin-unpack.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-builtin-unpack.c
b/src/ostree/ot-builtin-unpack.c
index 9f0efb0a5f1efb7696f04197ac16cbf6bdf0885b..e72bf458cefc933dc80655d6942b90d57face61f 100644
(file)
--- a/
src/ostree/ot-builtin-unpack.c
+++ b/
src/ostree/ot-builtin-unpack.c
@@
-275,6
+275,9
@@
ostree_builtin_unpack (int argc, char **argv, GFile *repo_path, GError **error)
g_print ("Deleted packfile '%s'\n", pack_checksum);
}
+ if (!ostree_repo_regenerate_pack_index (repo, cancellable, error))
+ goto out;
+
ret = TRUE;
out:
if (in_transaction)